package mvc.form;

public class RegisterForm extends ActionForm implements Comparable<Object> {
	private String username;
	private String password1;
	private String password2;
	private String email;

	public RegisterForm() {
	}

	public RegisterForm(String username, String password1, String password2, String email) {
		this.username = username;
		this.password1 = password1;
		this.password2 = password2;
		this.email = email;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword1() {
		return password1;
	}

	public void setPassword1(String password1) {
		this.password1 = password1;
	}

	public String getPassword2() {
		return password2;
	}

	public void setPassword2(String password2) {
		this.password2 = password2;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public int compareTo(Object o) {
		// TODO Auto-generated method stub
		return 0;
	}

	public boolean equals(Object o) {
		return false;
	}

	public String toString() {
		return "username = " + username + " || password1=" + password1 + " || password2=" + password2 + " || email=" + email;
	}
}
